package com.jgybzx.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class Staff implements Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelProperty(index = 0)
    private Integer staffId;

    @ExcelProperty(index = 1)
    private String staffName;

    @ExcelProperty(index = 2)
    private String eCode;

    @ExcelProperty(index = 3)
    private String sex;

    @ExcelProperty(index = 4)
    private String job;

    @ExcelProperty(index = 5)
    private Integer departmentId;

    @ExcelProperty(index = 6)
    private String expertise;

    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(index = 7)
    private Date hiredate;

    @ExcelProperty(index = 8)
    private String phoneNumber;

    @ExcelProperty(index = 9)
    private String isdel;

    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(index = 10)
    private Date createTime;

    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(index = 11)
    private Date updateTime;


    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String geteCode() {
        return eCode;
    }

    public void seteCode(String eCode) {
        this.eCode = eCode;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getExpertise() {
        return expertise;
    }

    public void setExpertise(String expertise) {
        this.expertise = expertise;
    }

    public Date getHiredate() {
        return hiredate;
    }

    public void setHiredate(Date hiredate) {
        this.hiredate = hiredate;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getIsdel() {
        return isdel;
    }

    public void setIsdel(String isdel) {
        this.isdel = isdel;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "Staff{" +
                "staffId=" + staffId +
                ", staffName='" + staffName + '\'' +
                ", eCode='" + eCode + '\'' +
                ", sex='" + sex + '\'' +
                ", job='" + job + '\'' +
                ", departmentId=" + departmentId +
                ", expertise='" + expertise + '\'' +
                ", hiredate=" + hiredate +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", isdel='" + isdel + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}